﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Store
{
	public class NewStoreEntity : DataEntity
	{
		public int UserNo { get { return Convert.ToInt32(GetData("n4UserNo", (int)0)); } }
		public string UserID { get { return Convert.ToString(GetData("strUserID", string.Empty)); } }
		public string IsLocalUser { get { return Convert.ToString(GetData("IsLocalUser", string.Empty)); } }
		public string UserName { get { return Convert.ToString(GetData("strUserName", string.Empty)); } }
		public string PersonalNo { get { return Convert.ToString(GetData("strPersonalNo", string.Empty)); } }
		public string Email { get { return Convert.ToString(GetData("strEmail", string.Empty)); } }
		public byte Question { get { return Convert.ToByte(GetData("n1Question", (byte)0)); } }
		public string Answer { get { return Convert.ToString(GetData("strAnswer", string.Empty)); } }
		public string PostNo { get { return Convert.ToString(GetData("strPostNo", string.Empty)); } }
		public string Address { get { return Convert.ToString(GetData("strAddress", string.Empty)); } }
		public string HomePhone { get { return Convert.ToString(GetData("strHomePhone", string.Empty)); } }
		public string MobilePhone { get { return Convert.ToString(GetData("strMobilePhone", string.Empty)); } }
		public string Birthday { get { return Convert.ToString(GetData("strBirthday", string.Empty)); } }
		public string IsSMS { get { return Convert.ToString(GetData("IsSMS", string.Empty)); } }
		public string IsEmail { get { return Convert.ToString(GetData("IsEmail", string.Empty)); } }
		public byte JoinMotiveType { get { return Convert.ToByte(GetData("n1JoinMotiveType", (byte)0)); } }
		public byte UserLevel { get { return Convert.ToByte(GetData("n1UserLevel", (byte)0)); } }
		public byte GroupType { get { return Convert.ToByte(GetData("n1GroupType", (byte)0)); } }
		public DateTime JoinDate { get { return Convert.ToDateTime(GetData("dtJoinDate", DateTime.MinValue)); } }
		public DateTime LastLogin { get { return Convert.ToDateTime(GetData("dtLastLogin", DateTime.MinValue)); } }
		public string LoginIP { get { return Convert.ToString(GetData("strLoginIP", string.Empty)); } }
		public byte IsRemoved { get { return Convert.ToByte(GetData("IsRemoved", (byte)0)); } }
	}
}